#include <BustaModelCustomer.h>
Public Member Functions | |
BustaModelCustomer () | |
Constructor. | |
~BustaModelCustomer () | |
Destructor. | |
int | getTime () |
Time left on order. | |
void | addTime (int t) |
Adds time to order. | |
void | setTimeLeft (int timeLeft) |
Sets the amount of time left to complete the customer's order. | |
int | getAllottedTime () |
Returns the amount of time that was allotted to fulfilling the order. | |
void | setAllottedTime (int newTime) |
Sets the total amount of time set to fulfill the order. | |
BustaModelFoodPiece ** | getOrder () |
Current order. | |
BustaModelFoodPiece * | getOrder (int n) |
Foodpiece in order. | |
void | setOrder (BustaModelFoodPiece **o) |
Sets the current Customer order. |
Model representing the customer. Has time left on order as well as sandwich requested
|
Constructor. Initializes variables |
|
Destructor.
|
|
Adds time to order. Adds specified amount of time to time left on the order |
|
Returns the amount of time that was allotted to fulfilling the order. Returns the amount of time that the customer allowed to have their order fulfilled. This number is a raw count of seconds.
|
|
Foodpiece in order. Returns pointer to nth food piece in order |
|
Current order. Returns pointer to the current Customer order |
|
Time left on order. Gets the time left on the customer order |
|
Sets the total amount of time set to fulfill the order. Sets the total amount of time set to fulfill the order
|
|
Sets the current Customer order. Currently a stub function |
|
Sets the amount of time left to complete the customer's order. Sets the amount of time left to complete the customer's order
|